for /f "tokens=* delims= " %%a in ('dir /b *.proto')  do (
echo %%~a
)

pause